package com.culture.config.model.po;

import java.util.List;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Range;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors(chain=true)
@NoArgsConstructor
public class UserRoleUpdatePO {
    @NotNull(message = "userId not be empty")    
    Long userId;
    List<Long> roleList;
    @Range(min=0,max=1,message = "must be 0 or 1") 
	Integer status;	
}
